package com.ru.application.creditscore.service;

import java.util.List;

import com.ru.application.creditscore.dao.support.SearchParameters;
import com.ru.application.creditscore.domain.ScoringRuleCase;

public interface ScoringRuleCaseService {

    public ScoringRuleCase findRuleCase(Integer id);

    public List<ScoringRuleCase> findAll(SearchParameters sp);

    public List<ScoringRuleCase> findRuleCaseByRuleId(Integer ruleId, SearchParameters sp);

    public boolean updateRuleCase(ScoringRuleCase rule);

    public void createRuleCase(ScoringRuleCase rule);

    public void removeRuleCase(Integer id);

    public void updateListRuleCase(List<ScoringRuleCase> listRuleCase);

    public void createListRuleCase(List<ScoringRuleCase> listRuleCase);

    public void removeListRuleCase(List<Integer> listId);
}
